package main

import (
	"crypto/rand"
	"encoding/base64"
	"fmt"
	"io"
)

func main() {
	b := make([]byte, 32)
	if _, err := io.ReadFull(rand.Reader, b); err != nil {
		fmt.Println("err")
	}
	t := base64.URLEncoding.EncodeToString(b)
	fmt.Println(t)
}
